<div class='menu-container bc-info' cache='user' data-port='http://api.hongyanche.com/user/info'>
	<div class='container'>
		<div class='weui-flex'>
			<div class='weui-flex__item' style="flex: 1">
				<error>
					<div class='page__hd' style="background: white;text-align: center;">
						<a href='#login' style="color:#666;font-size: 24px;font-weight: bold;"><i style="font-size: 60px; vertical-align: middle;" class='i i-my'></i> 未登录</a>
					</div>
				</error>
				<display>
					<div class='weui-cells' style="background: white;">
						<a h1ref='#maintain_order' class='weui-cell weui-cell_access'>
							<div class='weui-cell__bd'>
								<headimgurl info=i><img class='headimg-md' /></headimgurl> 我的维修保养
							</div>
							<!-- <div class='weui-cell__ft'>
								我的订单
							</div> -->
						</a>
					</div>
					<div class='page__bd bc-list' id='maintain-user-vehicle-list' data-port='http://api.hongyanche.com/maintain/vehicle_list'>
						<div class='weui-cells__title'>选择您的车辆</div>
						<div class="weui-cells weui-cells_checkbox" id='vehicle-checkboxes'>
							<div class=' bc-list-template'>
								<label href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
									<div class="weui-cell__hd">
										<input type="radio" class="weui-check" name="vehicle">
										<i class="weui-icon weui-icon-checked"></i>
									</div>
									<div class="weui-media-box__hd">
										<img class="weui-media-box__thumb" src="http://api.hongyanche.com/_hongyanche/material/logo.jpg" alt="">
									</div>
									<div class="weui-media-box__bd">
										<h4 class="weui-media-box__title"><vehicle_license_province list=1></vehicle_license_province> <vehicle_license_number list=1></vehicle_license_number></h4>
										<!-- <p class="weui-media-box__desc">上次保养：2017-05-08</p> -->
									</div>
								</label>
							</div>
							<!--<a href='#maintain_vehicle_add' class="weui-cell weui-cell_link weui-cell_access">-->
								<div class="weui-cell__bd"><a href="http://api.hongyanche.com/home?vehicle=1#my">添加新车</a></div>
								<div class="weui-cell__ft"></div>
							<!--</a>-->
						</div>
						<div class='weui-btn-area'>
							<a id='vehicle-next' class='weui-btn weui-btn_primary weui-btn_disabled'>下一步</a>
						</div>
					</div>
				</display>
			</div>
		</div>
	</div>
</div>
<script>
	$('#vehicle-next').on('click', function() {
		if(!$(this).hasClass('weui-btn_disabled')){
			location.href='#maintain_garage'
		}
	});
	$(document).on('change', '#vehicle-checkboxes',function() {
		if($(this).find('input:checked').length){
			$("#vehicle-next").removeClass('weui-btn_disabled');
		}else{
			$("#vehicle-next").addClass('weui-btn_disabled');
		}
	});
</script>